    <h2 id="窗口管理"> 窗口管理</h2>
    <h3 id="hideMainWindow"> hideMainWindow</h3>
    <ul>
        <li><code>返回</code> Boolean</li>
    </ul>
    <p>执行该方法将会隐藏uTools主窗口，包括此时正在主窗口运行的插件，分离的插件不会被隐藏。</p>
    <div class="language-js extra-class">
        <pre class="language-js"><code>utools<span class="token punctuation">.</span><span class="token function">hideMainWindow</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
  </code></pre>
    </div>
    <h3 id="showMainWindow"> showMainWindow</h3>
    <ul>
        <li><code>返回</code> Boolean</li>
    </ul>
    <p>执行该方法将会显示uTools主窗口，包括此时正在主窗口运行的插件。</p>
    <div class="language-js extra-class">
        <pre class="language-js"><code>utools<span class="token punctuation">.</span><span class="token function">showMainWindow</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
  </code></pre>
    </div>
    <h3 id="setExpendHeight"> setExpendHeight
    </h3>
    <ul>
        <li><code>height</code> Integer</li>
        <li><code>返回</code> Boolean</li>
    </ul>
    <p>执行该方法将会修改插件窗口的高度。</p>
    <div class="language-js extra-class">
        <pre class="language-js"><code>utools<span class="token punctuation">.</span><span class="token function">setExpendHeight</span><span class="token punctuation">(</span><span class="token number">100</span><span class="token punctuation">)</span>
  </code></pre>
    </div>
    <h3 id="setSubInput"> setSubInput</h3>
    <ul>
        <li><code>onChange</code> Function
            <ul>
                <li><code>Object</code>
                    <ul>
                        <li><code>text</code> String</li>
                    </ul>
                </li>
            </ul>
        </li>
        <li><code>placeholder</code> String(可选)</li>
        <li><code>返回</code> Boolean</li>
    </ul>
    <p>设置子输入框，进入插件后，原本uTools的搜索条主输入框将会变成子输入框，设置完子输入框搜索条子输入框可以为插件所使用。</p>
    <div class="language-js extra-class">
        <pre class="language-js"><code>utools<span class="token punctuation">.</span><span class="token function">setSubInput</span><span class="token punctuation">(</span><span class="token punctuation">(</span><span class="token punctuation">{</span>text<span class="token punctuation">}</span><span class="token punctuation">)</span> <span class="token operator">=&gt;</span> <span class="token punctuation">{</span>
    console<span class="token punctuation">.</span><span class="token function">log</span><span class="token punctuation">(</span>text<span class="token punctuation">)</span>
  <span class="token punctuation">}</span><span class="token punctuation">,</span> <span class="token string">'网页搜索，回车打开'</span><span class="token punctuation">)</span>
  </code></pre>
    </div>
    <h3 id="removeSubInput"> removeSubInput</h3>
    <ul>
        <li><code>返回</code> Boolean</li>
    </ul>
    <p>移出先前设置的子输入框，在插件切换到其他页面时可以重新设置子输入框为其所用。</p>
    <div class="language-js extra-class">
        <pre class="language-js"><code>utools<span class="token punctuation">.</span><span class="token function">removeSubInput</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
  </code></pre>
    </div>
    <h3 id="setSubInputValue">
        setSubInputValue</h3>
    <ul>
        <li><code>value</code> String</li>
        <li><code>返回</code> Boolean</li>
    </ul>
    <p>直接对子输入框的值进行设置。</p>
    <div class="language-js extra-class">
        <pre class="language-js"><code>utools<span class="token punctuation">.</span><span class="token function">setSubInputValue</span><span class="token punctuation">(</span><span class="token string">'uTools'</span><span class="token punctuation">)</span>
  </code></pre>
    </div>
    <h3 id="outPlugin"> outPlugin</h3>
    <ul>
        <li><code>返回</code> Boolean</li>
    </ul>
    <p>执行该方法将会退出当前插件。</p>
    <div class="language-js extra-class">
        <pre class="language-js"><code>utools<span class="token punctuation">.</span><span class="token function">outPlugin</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
  </code></pre>
    </div>
    <h3 id="showNotification">
        showNotification</h3>
    <ul>
        <li><code>返回</code> Boolean</li>
    </ul>
    <p>执行该方法将会弹出一个系统通知。</p>
    <div class="language-js extra-class">
        <pre class="language-js"><code>utools<span class="token punctuation">.</span><span class="token function">showNotification</span><span class="token punctuation">(</span>body<span class="token punctuation">,</span> clickFeatureCode <span class="token operator">=</span> <span class="token keyword">null</span><span class="token punctuation">,</span> silent <span class="token operator">=</span> <span class="token boolean">true</span><span class="token punctuation">)</span>
  <span class="token operator">-</span> body 显示的内容
  <span class="token operator">-</span> clickFeatureCode 用户点击系统通知时，uTools将会使用此<span class="token template-string"><span class="token string">`code`</span></span>进入插件
  <span class="token operator">-</span> silent 是否播放声音
  </code></pre>
    </div>